package curd

import (
	"goskeleton/app/model/category"
)

type articleCurd struct {
}

func CreateArticleCurdFactory() *articleCurd {
	return &articleCurd{}
}

func (a *articleCurd) Create(parentId float64, name string) bool {
	return category.CreateArticleFactory("").Create(parentId, name)
}
